package com.online.shopping.service;

import com.online.shopping.pojo.TbContent;
import com.online.shopping.pojo.TbContentExample;

import java.util.List;

/**
 * @author Rui
 * @version 1.0
 * @date 2020/11/16 14:11
 */
public interface ContentService {

    public List<TbContent> findAllContent();

    public TbContent findContentById(Long id);

    public int addContent(TbContent content);

    public int updateContent(TbContent content);

    public void delContent(Long id);

    public void delManyContents(Long[] ids);

    public List<TbContent> selectByExample(TbContentExample example);
}
